home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 2
/
Atari Mega Archive CD - Volume 2.iso
/
minix
/
up1510b.tgz
/
up1510b
/
include
/
stddef.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-23
|
550b
|
24 lines
/* The <stddef.h> header defines certain commonly used macros. */
#ifndef _STDDEF_H
#define _STDDEF_H
#define NULL ((void *)0)
/* The following is not portable, but the compiler accepts it. */
#define offsetof(type, ident) ((size_t) &(((type *)0)->ident))
typedef int ptrdiff_t; /* result of subtracting two pointers */
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t; /* type returned by sizeof */
#endif
#ifndef _WCHAR_T
#define _WCHAR_T
typedef char wchar_t; /* type expanded character set */
#endif
#endif /* _STDDEF_H */